<?php
if($status!=1){
    exit("<script>window.location.replace(\"./index.php?pa=1\")</script>");
}else{

}
?>
<div id="system" style="background-color: #F7F7F7;width:85%;height: 100%;float: right;overflow:auto;">
    <div style="width: 100%;height: 50px;background-color: #B9FFD1;"><h3 style="padding: 10px 2%;margin: 0px;">系统设置</h3></div>
    <form action="./index.php" mode="get">
        <input name="pa" value="2" style="display:none">
        <input name="mode" value="system_set" style="display:none">
        <p>网站名：<input name="website_name" value="<?php echo $websitename; ?>"></p>
        <p>网站介绍：<input name="website_text" style="width:80%" value="<?php echo $websitetext; ?>"></p>
        <p>网站导航栏：</p>
        <textarea name="website_nav" rows="15" style="width:80%"><?php echo $websitenav; ?></textarea>
        <p>网站配置：</p>
        <textarea name="website_config" rows="15" style="width:80%"><?php echo $websiteconfig; ?></textarea>
        <input type="submit" value="保存">
    </form>
</div>